var express = require('express');

var app = express();

app.get("/", function(req, resp){
    resp.send("hello world");
});

app.post("/user", function(req, resp){
    resp.send('Got a POST request at /user');
});

app.put("/user", function(req, resp){
    resp.send('Got a PUT request at /user');
});

app.delete("/user", function(req, resp){
    resp.send('Got a DELETE request at /user');
});

app.all("/student", function(req, resp){
    resp.send('Got all method request at /student');
})

app.listen(3000, function(){
    console.log("Server is running");
});